package cn.bob.product.service;

import cn.bob.basic.utils.PageList;
import cn.bob.order.domain.OrderProduct;
import cn.bob.order.query.OrderProductQuery;
import cn.bob.product.domain.Product;
import cn.bob.basic.service.IBaseService;
import cn.bob.product.domain.ProductStaycheck;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bob
 * @since 2022-11-03
 */
public interface IProductService extends IBaseService<Product> {

    Product bydetail(Long id);

    void onsaleProduct(List<Long> ids);

    void offsaleProduct(List<Long> ids);

    PageList<ProductStaycheck> finish(OrderProductQuery query);
}
